package com.example.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.dao.SpuDao;
import com.example.demo.entity.Spu;
import com.example.demo.service.SpuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * (Spu)表服务实现类
 *
 * @author makejava
 * @since 2023-09-10 12:22:24
 */
@Service("spuService")
public class SpuServiceImpl extends ServiceImpl<SpuDao, Spu> implements SpuService {
    @Autowired
    SpuDao spudao;
    @Override
    public Spu findSpu(Integer id) {
        return spudao.findSpu(id);
    }
}

